package com.nchu.ft.common.exception;

import com.nchu.ft.common.exception.base.BaseException;

/**
 * @className: MyException
 * @description: 自定义异常
 * @author: Li Chuanwei
 * @date: 2024/01/18 18:13
 * @Company: Copyright [日期] by [作者或个人]
 **/

public class MyException extends BaseException {
    public MyException(String module, int code, Object[] args, String defaultMessage) {
        super(module, code, args, defaultMessage);
    }

    public MyException(int code) {
        super(code);
    }

    public MyException(int code, String defaultMessage) {
        super(code, defaultMessage);
    }

    public MyException(int code, Object[] args) {
        super(code, args);
    }

    public MyException(String module, int code, Object[] args) {
        super(module, code, args);
    }

    public MyException(int code, Object[] args, String defaultMessage) {
        super(code, args, defaultMessage);
    }
}
